<?php if(!defined('IN_FOXPHP')){exit('Data error');} ?><!doctype html>
<html lang="zh-CN">
<!-- Head -->
<head>
<title><?php if ($SEO['title']){ ?><?php echo $SEO['title']; ?> - <?php } ?><?php echo C('sitename'); ?><?php if (C('sitebanner')){ ?> - <?php echo C('sitebanner'); ?><?php } ?></title>
<meta name="keywords" content="<?php if ($SEO['keywords']){ ?><?php echo $SEO['keywords']; ?><?php } ?>" />
<meta name="description" content="<?php if ($SEO['description']){ ?><?php echo $SEO['description']; ?><?php } ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo C('S_CHARSET'); ?>" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<?php if (!empty($task['robots'])){ ?>
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
<?php } ?>
<!--Basic Styles-->
<link href="<?php echo AURL; ?>/css/basic.css" rel="stylesheet" />
<link href="<?php echo AURL; ?>/css/phpapp.css" rel="stylesheet" />

<!-- Javascript -->
<script type="text/javascript">

//当前登录用户
var UID=<?php echo $uid; ?>;
var UserName='<?php echo $username; ?>';

//COOKIE
var CookieExpire=<?php echo C('COOKIE_EXPIRE'); ?>; 
var CookieDomain="<?php echo C('COOKIE_DOMAIN'); ?>"; 
var CookiePath="<?php echo C('COOKIE_PATH'); ?>";	
var CookiePrefix="<?php echo C('COOKIE_PREFIX'); ?>";	

//网址信息
var SURL ='<?php echo C('S_URL'); ?>';
var AURL ='<?php echo AURL; ?>';
var SkinPath='<?php echo AURL; ?>/css/skins/<?php echo C("DEFAULT_THEME_STYLE"); ?>.min.css';
var TokenName='<?php echo C("TOKEN_NAME"); ?>';
var ModuleName='<?php echo MODULE_NAME; ?>';
var SocketIoKey='<?php echo C("FOXPHP_ID"); ?>.<?php echo $uid; ?>';
var SocketClient='<?php echo C("SOCKET_CLIENT_URL"); ?>';
</script>

<!--  Public  -->
<script src="<?php echo AURL; ?>/js/foxphp.js"></script>






 


</head>
<!-- /Head -->
<!-- Body -->
<body>
    <!-- Loading Container -->
    <div class="loading-container">
        <div class="loading-progress">
            <div class="rotator">
                <div class="rotator">
                    <div class="rotator colored">
                        <div class="rotator">
                            <div class="rotator colored">
                                <div class="rotator colored"></div>
                                <div class="rotator"></div>
                            </div>
                            <div class="rotator colored"></div>
                        </div>
                        <div class="rotator"></div>
                    </div>
                    <div class="rotator"></div>
                </div>
                <div class="rotator"></div>
            </div>
            <div class="rotator"></div>
        </div>
    </div>
    <!--  /Loading Container -->
    
    
     <div class="container-fluid header_top">

	<div class="container">
 	<div class="row">
     
    		 <div class="col-lg-7">
              <div class="row">
				<ul class="nav navbar-nav nav-top" id="MyStatus">
                <li><a href="/login">请登录</a></li>
                <li><a href="/register">免费注册</a></li>
              	<span id="UserUid" style="display:none">0</span>
                </ul>
                
                <?php if (C('otoo_open')==1){ ?>
                	<?php  $city=session('City');  ?>
                	<?php if (!empty($city['name'])){ ?><?php echo $city['name']; ?><?php }else{ ?>全国<?php } ?> <a href="/city">[切换城市]</a>
                <?php } ?>
                </div>
                   
            </div>       
                   
           <div class="col-lg-5">  
           <div class="row">
           <div class="nav_right">
           <!-- <ul class="nav navbar-nav nav-top">
                <li><a href="/app">手机端</a></li>
           </ul> -->
           <ul class="nav navbar-nav nav-top">

            <li class="dropdown">
              <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle" href="#">我是雇主<span class="caret"></span></a>
              <ul role="menu" class="dropdown-menu">
					 <li><a target="_blank" href="/buyer" rel="nofollow">交易管理</a></li>
                     <li><a target="_blank" href="/buyer/evaluate">评价管理</a></li>
                     <li><a href="/buyer/refund" target="_blank">退款管理</a></li>
                     <li><a href="/buyer/report" target="_blank">我发的举报</a></li>
                     <li><a href="/buyer/report/other" target="_blank">我收到举报</a></li>
              </ul>
            </li>
            
            
            <li class="dropdown">
              <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle" href="#">我是服务商<span class="caret"></span></a>
              <ul role="menu" class="dropdown-menu">
					 <li><a target="_blank" href="/seller">交易管理</a></li>
                     <li><a target="_blank" href="/seller/shop">免费开店</a></li>
                     <li><a target="_blank" href="/fuwu/publish/index">发布服务</a></li>
                     <li><a href="/task" target="_blank">投标赚钱</a></li>
                     <li><a target="_blank" href="/seller/evaluate">评价管理</a></li>
                     <li><a href="/seller/refund" target="_blank">退款管理</a></li>
                     <li><a href="/seller/report" target="_blank">我发的举报</a></li>
                     <li><a href="/seller/report/other" target="_blank">我收到举报</a></li>
              </ul>
            </li>
            
            
            <!-- <li class="dropdown">
              <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle" href="#">网站导航<span class="caret"></span></a>
              <ul role="menu" class="dropdown-menu">
					<li><a href="/member/spread/code" target="_blank">推广联盟</a></li>
              </ul>
            </li> -->
            
            
          </ul>

          </div>   
          </div>   
          </div>     
            
                   
     </div>
     </div>
     </div>
     
	<div class="container-fluid header">
     
     <div class="container">
     
 	<div class="row">
   
    <?php if (C('sitenotice')){ ?>
    	<div class="alert alert-warning fade in" style="margin-bottom:2px;" id="SiteNotice">
            <button data-dismiss="alert" class="close">
                ×
            </button>
            <i class="fa-fw fa fa-warning"></i>
            <strong>网站公告</strong> <?php echo C('noticecontent'); ?>
        </div>
        <script type="text/javascript">
		if(UID){
			$('#SiteNotice').hide();
		}
		</script>
    <?php } ?>
     <div class="header_ad">
     <p><a href="http://www.aqwlkj.cn" target="_blank"><img style="width: 100%;" alt="" src="http://www.1000qian.cn/assets/img/ad/top_1170_60.png"/></a></p> <!-- 头部顶部通栏 -->
     </div>
     </div>
     
     <div class="row padding_pt_20">
     <div class="col-lg-2">
     <div class="row">
     <div class="header_logo"><a href="/" title="<?php echo C('sitename'); ?>"></a></div>
     </div>
     </div>
     
     <div class="col-lg-2">
     <div class="slogan">
     2018全新起航
     </div>
     </div>
     
     <div class="col-lg-6">
            <form role="search" class="navbar-form navbar-left" id="TopSearchForm" method="get">
            
            <div class="input-group input_search_group line_color">
          <div class="input-group-btn">
            <button aria-expanded="false" data-toggle="dropdown" class="btn btn-default dropdown-toggle input_search_select" type="button"></button>
            <ul role="menu" class="dropdown-menu dropdown_search">
              <li><a href="#" id="SearchFuwuShang">服务商</a></li>
              <li><a href="#" id="SearchTask">任务</a></li>
              <li><a href="#" id="SearchFuwu">服务</a></li>
            </ul>
          </div><!-- /btn-group -->
          <input type="text"  placeholder="搜索关键字" name="search" class="form-control input_search" style="width:400px;border-bottom-color: #FFF;border-right-color:#FFF;border-top-color:#FFF" value="<?php if ($search){ ?><?php echo $search; ?><?php } ?>">
          
          <div class="input-group-btn">
          <button class="btn btn-primary" type="submit"><strong>搜 索</strong></button>
          </div>
        </div>
        
            
          </form>
     </div>
     
     <div class="col-lg-2">
     <div class="row">

     	<div class="text-right" style="padding-top:8px;">
      		<a href="/task/publish/index" class="btn btn-primary" style="padding:8px;"><i class="fa fa-pencil"></i>免费发布任务</a>
     	 </div>

     </div>
     </div>
     
     </div>
     </div>
     </div>

     
    <div class="container-fluid btn-primary header_nav">
    <div class="row">
    <div class="container">

 		<div class="row">
       
                 
                         
                         <?php if ($nav=='Member'){ ?>
                         <ul class="nav navbar-nav">
                          <li class="nav_back">
                         <a href="/member" class="focus">
                         <i class="glyphicon glyphicon-cog"></i> 账号管理</a>
                         </li>
                           
                           <li><a href="/member/dialog">站内消息</a></li>
                           
                           <li><a href="/member/notice">站内通知</a></li>
                           <li><a href="/member/task">我的任务</a></li>
                           
                           </ul>
                           
                           <ul class="nav navbar-nav navbar-right">
                        		<li><a href="/buyer">我是雇主</a></li>
      							<li><a href="/seller">我是服务商</a></li>
        				  </ul>
                          
                         <?php }elseif($nav=='Buyer'){ ?>
                         <ul class="nav navbar-nav">
                          <li class="nav_back">
                         <a href="/buyer" class="focus">
                         <i class="glyphicon glyphicon-user"></i> 我是雇主</a>
                         </li>
                         
                           <li><a href="/member">账号管理</a></li>

                           <li><a href="/member/dialog">站内消息</a></li>
                           
                           <li><a href="/member/notice">站内通知</a></li>
                           
                           </ul>
                           <ul class="nav navbar-nav navbar-right">
      							<li><a href="/seller">我是服务商</a></li>
        				  </ul>
                           
                         <?php }elseif($nav=='Seller'){ ?>
                         <ul class="nav navbar-nav">
                          <li class="nav_back">
                         <a href="/seller" class="focus">
                         <i class="glyphicon glyphicon-user"></i> 我是服务商</a>
                         </li>
                         
                           <li class="active"><a href="/member">账号管理</a></li>
                           
                           <li><a href="/member/dialog">站内消息</a></li>
                           
                           <li><a href="/member/notice">站内通知</a></li>
                           </ul>
                           <ul class="nav navbar-nav navbar-right">
      							<li><a href="/buyer">我是雇主</a></li>
        				   </ul>
                         <?php }else{ ?>
            			 <ul class="nav navbar-nav category_nav">
                         <li class="dropdown nav_back">
                      <a data-toggle="dropdown" aria-expanded="true" href="#">
                         <i class="glyphicon glyphicon-list"></i> 所有服务分类
                        <span class="caret"></span>
                      </a>
                      <div class="dropdown-menu dropdown_category btn-primary"<?php if (MODULE_NAME=='Home'){ ?> style="display:block"<?php } ?>>
                              <div class="CategoryTree">
                                   <ul id="MenuCategory"></ul>
                              </div>
                      </div>
                    </li>
                    
                   	<?php if (GetNav()){ ?>
                    	<?php foreach (GetNav() as $nav){ ?>
                      	     <li><a href="<?php echo $nav['navurl']; ?>"<?php if ($nav['module']==MODULE_NAME){ ?> class="active nav_active"<?php } ?><?php if ($nav['blank']==1){ ?> target="_blank"<?php } ?>><?php echo $nav['navname']; ?></a></li>
                        <?php } ?>
                    <?php } ?>
                   
                      </ul>
                      
                      <ul class="nav navbar-nav navbar-right">
      							  <li><a href="/seller/shop">免费开店</a></li> <li><a href="/help"><i class="fa fa-question-circle"></i>帮助</a></li>
        				   </ul>
                      <?php } ?>
                      
                    
  
        </div>
          
          
          
          </div>
     </div>
     </div>


    <?php if (MODULE_NAME!='Home'){ ?>
    <div class="container">
   
 	<div class="row">
 	<div class="col-lg-10">
	<div class="row">
    <div style="margin-bottom: 5px; padding-left:0px; margin-left:0px;" class="breadcrumb">
    <i class="fa  fa-home"></i>  <li>当前位置</li>
      <li><?php echo $PATH[0]; ?></li>
      <?php if ($PATH[1]){ ?><li><?php echo $PATH[1]; ?></li><?php } ?>
      <?php if ($PATH[2]){ ?><li><?php echo $PATH[2]; ?></li><?php } ?>
	</div>
      </div>
      </div>
      
       <div class="col-lg-2">
       <div class="row">
     <div class="text-right">
     <?php if (C('opensharecode')){ ?>
    
    	<?php echo htmlspecialchars_decode(C('sharecode')); ?>
    
     <?php } ?>
     
     </div>
     </div>
      
    </div>
     </div>
    </div>
	<?php } ?>


<div class="container">
  <?php if ($task['draft_success']>0){ ?>
       <div class="row">
         <div class="well">
         <?php if ($task['task_number']>1){ ?>
             <div class="success_sellers"></div>
<div class="row">

<div class="col-lg-4">
	
    <div class="row">
    
     <?php if ($avatarsuccess){ ?>
    	<?php foreach ($avatarsuccess as $key=>$avatar){ ?>
              <div class="col-md-2">
                 <?php echo $avatar; ?>
                 <p></p>
              </div>
              
     	<?php } ?>
     <?php } ?>
    </div>
    
    <div class="text-right"><a href="#TaskOrderForm" class="btn btn-darkorange btn-sm">我要投稿</a></div>

</div>

<div class="col-lg-8">
<div class="well">


     <h2><?php echo $task['username']; ?> 发布悬赏找到了满意的方案</h2>
     
     <h5>悬赏<strong><?php echo $task['money']/100*$task['task_number']; ?></strong>元  共收到 <strong><?php echo $task['draft_number']; ?></strong>个服务商报名参与</h5>
     <p>由从多服务商完成需求！</p>
     <p><?php echo C('sitename'); ?>聚集了100万专业服务商，发布一个需求，收获众多创意 逛逛需求市场 </p>
     <div class="text-right"><a class="btn btn-darkorange btn-sm" href="/task/publish">我要发布需求</a></div>

</div>
</div>

</div>

 
         <?php }else{ ?>    
         	<div class="success_sellers"></div>
<div class="row">

<div class="col-lg-4">
	<div class="col-lg-5">
     <div class="row">
     <a href="/shop/<?php echo $member['uid']; ?>" target="_blank"><?php echo GetAvatarSimple($member['uid'],120,'img-rounded'); ?></a>
     </div>
      </div>
       
     <div class="col-lg-7">
    <div class="row">
    
     <p><b><a href="/shop/<?php echo $member['uid']; ?>" target="_blank"><?php echo $member['username']; ?></a></b></p>
     <?php if ($member['level']){ ?><p><img src="/assets/img/level/level_<?php echo $member['level']; ?>.png" title="等级值<?php echo $member['ability_level']; ?>"/></p><?php } ?>
     <p>好评率：<?php echo $member['seller_haopinglu']/100; ?>%</p>
     
     <p><i class="fa fa-map-marker"></i> <?php echo $member['provname']; ?> <?php echo $member['cityname']; ?> <?php echo $member['distname']; ?></p>
 	</div>
      </div>
      
      
      
      <div class="row">
     <div class="col-lg-12">
     		<strong>TA最新服务</strong>
           <?php $newdata=unserialize($member['newdata']); ?>
              <?php if ($newdata){ ?>
              <table class="table">
                  <tbody>
                  <?php foreach ($newdata as $data){ ?>
                    <tr>
                      <td><a href="/shop/fuwu/<?php echo $data['id']; ?>" target="_blank"><span class="color_f60">￥<?php echo $data['money']; ?></span> <?php echo $data['subject']; ?></a></td>
                    </tr>
				  <?php } ?>
                  </tbody>
                </table>
              <?php } ?> 
     
     
     
     </div>
      </div>

</div>

<div class="col-lg-8">
<div class="well">

<?php if ($uid==$order['buyer_uid'] && $task['process_order']==3 || IsService($task['serviceuid']) && $task['process_order']==3 || IsAdmin() && $task['process_order']==3){ ?>
	 <h2>服务商 <?php echo $order['seller_username']; ?> 交接中</h2>
    <h5>等待服务商交接</h5>
    <p>订单自动关闭时间 <span class="text-danger"><?php echo FormatDate("Y-m-d H:i:s",$task['autopaytime']); ?></span></p>

<?php }elseif($uid==$order['seller_uid'] && $task['process_order']==3 || IsService($task['serviceuid']) && $task['process_order']==3 || IsAdmin() && $task['process_order']==3){ ?>
     <h2><?php echo $order['seller_username']; ?> 恭喜您中标了</h2>
     <p>请您确认交接</p>
     <p>订单自动关闭时间 <span class="text-danger"><?php echo FormatDate("Y-m-d H:i:s",$task['autopaytime']); ?></span></p>
     <p>如果需要上传原件请使用上传文件进行上传。</p>
     <div class="row">
     <div class="col-lg-12">
   
         <script>
/*上传配置*/
var upload_server='<?php echo U("/post/upload/file"); ?>';

var upload_delete='<?php echo U("/post/upload/delete"); ?>';

if(!upload_undefinedfile){
	var upload_undefinedfile='<?php echo U("/post/upload/undefinedfile/".$uploadid."/".intval($id)); ?>';
}

var upload_swf=AURL+'/plugin/webuploader/Uploader.swf';

//if(!upload_filenumlimit){
	var upload_filenumlimit=5;
//}
var upload_filesizelimit='<?php echo C("onefileuploadsize"); ?>';

var upload_filesinglesizelimit='<?php echo C("onefileuploadsize"); ?>';

var upload_id='#UploadFile';

var upload_removefiletitle='删除';

var upload_deletefiletitle='<i class="fa fa-trash-o"></i>删除中...';

var upload_filetitle='<i class="fa fa-upload"></i>上传中...';

var upload_completetitle='<i class="fa fa-check-circle"></i>已上传';

if(!upload_extensions){
	var upload_extensions='<?php echo C("uploadfiletype"); ?>';
}

if(!upload_extensions_title){
	var upload_extensions_title='<?php echo C("uploadfiletype"); ?>';
}

if(!upload_mimetypes){
	var upload_mimetypes='*';
}

var SecurityForm=$('input[name="SecurityForm"]').val();
</script>

<?php if (empty($isshowuploadlist)){ ?>             
<div class="col-lg-12">
<div class="row">             
<table class="table table-hover" id="UploadList" style="display:none"><tbody></tbody></table>  
</div>
</div>  
<?php } ?> 

<link href="<?php echo AURL; ?>/plugin/webuploader/webuploader.css" rel="stylesheet" type="text/css" />
<script src="<?php echo AURL; ?>/plugin/webuploader/webuploader.min.js"></script>
<script src="<?php echo AURL; ?>/js/foxphp_upload.js"></script>




 


         <div class="col-lg-12"><div class="row">最多可添加五个附件，每个大小不超过<?php echo $uploadsize; ?>M</div></div>
 
     </div>
     </div>
                
     <div class="text-right"><a id="UploadFile" href="javascript:void(0);">上传原件</a> <a class="btn btn-darkorange" href="javascript:void(0);" onclick="SubmitDelivery(<?php echo $order['oid']; ?>);">确认交接</a></div>
     
<?php }elseif($uid==$order['seller_uid'] && $task['process_order']==4 || IsService($task['serviceuid']) && $task['process_order']==4 || IsAdmin() && $task['process_order']==4){ ?>
    <h2><?php echo $order['seller_username']; ?> 恭喜您交接成功</h2>
    <h5>等待雇主确认</h5>
    <p>订单自动确认时间 <span class="text-danger"><?php echo FormatDate("Y-m-d H:i:s",$task['autopaytime']); ?></span></p>
<?php }elseif($uid==$order['buyer_uid'] && $task['process_order']==4  || IsService($task['serviceuid']) && $task['process_order']==4  || IsAdmin() && $task['process_order']==4){ ?>
     <h2><?php echo $order['seller_username']; ?> 已交接原件</h2>
     <p>请您确认付款</p>
     <p>订单自动确认时间 <span class="text-danger"><?php echo FormatDate("Y-m-d H:i:s",$task['autopaytime']); ?></span></p>
     <p>下载原件 <span class="text-muted">(提示：鼠标右键下载名称,点另存为)</span></p>
     <?php if ($orderfile){ ?>
     <?php foreach ($orderfile as $file){ ?>
     	<p><a href="/post/download/file/<?php echo $file['fid']; ?>" target="_blank"><i class="glyphicon glyphicon-save"></i> <?php echo $file['filename']; ?></a></p>
     	<!-- <p><a href="/post/download/file/<?php echo $file['filepath']; ?>" target="_blank"><i class="glyphicon glyphicon-save"></i> <?php echo $file['filename']; ?></a></p> -->
     <?php } ?>
     <?php }else{ ?>	
     <p>无原件</p>
     <?php } ?>
     <div class="">
     	<!-- <a class="btn btn-warning btn-sm" href="javascript:void(0);" onclick="SubmitRefundOrder(<?php echo $order['oid']; ?>);">驳回</a> -->
     	<link href="<?php echo AURL; ?>/plugin/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
<script>var upload_undefinedimage='<?php echo U("/post/upload/undefinedimage/".$uploadid."/".intval($id)); ?>'; var upload_delete='<?php echo U("/post/upload/delete"); ?>';</script>
<script src="<?php echo AURL; ?>/plugin/umeditor/umeditor.config.js"></script>
<script src="<?php echo AURL; ?>/plugin/umeditor/umeditor.min.js"></script>
<script src="<?php echo AURL; ?>/plugin/umeditor/lang/<?php echo C('DEFAULT_LANG'); ?>/<?php echo C('DEFAULT_LANG'); ?>.js"></script>



 


     	<textarea id="Content"  name="content"  style="height:200px;width:100%"></textarea>
     	<script type="text/javascript">
     		var um;
     		$(document).ready(function () {
			
				um = UM.getEditor('Content');

				um.addListener("contentChange",function(){
					if(UM.getEditor('Content').hasContents()){
						$('#RejectBtn').attr('disabled',false);
					}else{
						$('#RejectBtn').attr('disabled',true);
					}
				});
			})
     	</script>
     	<div class="col-pt-10 text-right">
     	<a class="btn btn-warning btn-sm" href="javascript:void(0);" id="RejectBtn" disabled="true" onclick="SubmitRejectOrder(<?php echo $order['oid']; ?>);">驳回</a> <a class="btn btn-darkorange btn-sm" href="javascript:void(0);" onclick="SubmitPayOrder(<?php echo $order['oid']; ?>);">确认并付款</a></div></div>
     
<?php }elseif($uid==$order['seller_uid'] && $task['process_order']==5 && $order['seller_is_evaluate']==0 || IsService($task['serviceuid'])  && $task['process_order']==5 && $order['seller_is_evaluate']==0){ ?>
       <h2>对 <?php echo $order['buyer_username']; ?> 买家评价</h2>
     <?php if ($order['buyer_is_evaluate']==1){ ?><h3>买家已评价</h3><?php } ?>
     <div class="control-group">
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/hao.png" />
			<label>
              <input type="radio" value="1" name="evaluate" checked="checked">
                    <span class="text">好评</span>
              </label>
          </div>
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/zhong.png" />
                <label>
                    <input type="radio" class="inverted" value="2" name="evaluate">
                    <span class="text">中评</span>
                </label>
            </div>
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/cha.png" />
                <label>
                    <input type="radio" class="inverted" value="3" name="evaluate">
                    <span class="text">差评</span>
                </label>
            </div>
        </div>
        
        <p>评语：(100字内)</p>
        
        <textarea id="EvaluateContent" class="form-control" style="width:100%;height:100px;margin-bottom:10px;"></textarea><p style="text-align:center;margin-top:10px;">
        
     <div class="text-right"><a class="btn btn-darkorange btn-sm" href="javascript:void(0);" onclick="SubmitEvaluate(<?php echo $order['oid']; ?>,0);">提交评价</a></div>
     
     <script type="text/javascript"> 
	function SubmitEvaluate(oid,type){
			
		bootbox.confirm({  
		   buttons: {  
			  confirm: {  
				 label: '确认',  
			  },  
			  cancel: {  
				 label: '取消',  
			  }  
		   },  
		   title:'提示',
		   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要提交评价?',  
			   callback: function(result) {  
				  if(result) {  
					 bootbox.hideAll();
					 
					 var evaluate=$('input[name="evaluate"]:checked').val();
					 var content=$('#EvaluateContent').val();
					 if(type==1){
						 var workspeed=parseInt($('#star span').find('strong').html().replace(/分/gi,''));
						 var worksattitude=parseInt($('#star2 span').find('strong').html().replace(/分/gi,''));
						 var worksquality=parseInt($('#star3 span').find('strong').html().replace(/分/gi,''));
					 }
					 
					 $.post('<?php echo U("/post/task/evaluate/id/".$id); ?>',{oid:oid,evaluate:evaluate,content:content,workspeed:workspeed,worksattitude:worksattitude,worksquality:worksquality}, function(json) {
								
							$('.bootbox').PhpappProgress({json:json});
		
							return true;
								
					 }, 'json');
					 
					  bootbox.dialog({
							 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
							 title: '<i class="icon fa fa-retweet"></i> 提交中',
							 closeButton: false
					 }).PhpappProgress({time:5000});
				 
					  return false; 
		  
				  }
			   } 
		
		})
		
		return false;
			
	}
	</script>
<?php }elseif(($uid==$order['buyer_uid'] && $task['process_order']==5 && $order['buyer_is_evaluate']==0 || IsService($task['serviceuid']))  && $task['process_order']==5 && $order['buyer_is_evaluate']==0){ ?>
	<h2>对 <?php echo $order['seller_username']; ?> 卖家评价</h2>
    <?php if ($order['seller_is_evaluate']==1){ ?><h3>卖家已评价</h3><?php } ?>
    <div id="star">
        <ul>
            <li><a href="javascript:;">1</a></li>
            <li><a href="javascript:;">2</a></li>
            <li><a href="javascript:;">3</a></li>
            <li><a href="javascript:;">4</a></li>
            <li><a href="javascript:;">5</a></li>
        </ul>
        <span><strong>0 分</strong> 工作速度</span>
        <p></p>
    </div>

    <div id="star2">
        <ul>
            <li><a href="javascript:;">1</a></li>
            <li><a href="javascript:;">2</a></li>
            <li><a href="javascript:;">3</a></li>
            <li><a href="javascript:;">4</a></li>
            <li><a href="javascript:;">5</a></li>
        </ul>
        <span><strong>0 分</strong> 服务态度</span>
        <p></p>
    </div>
    
    
    <div id="star3">
        <ul>
            <li><a href="javascript:;">1</a></li>
            <li><a href="javascript:;">2</a></li>
            <li><a href="javascript:;">3</a></li>
            <li><a href="javascript:;">4</a></li>
            <li><a href="javascript:;">5</a></li>
        </ul>
        <span><strong>0 分</strong> 完成质量</span>
        <p></p>
    </div>
  
        
        <div class="control-group">
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/hao.png" />
			<label>
              <input type="radio" value="1" name="evaluate" checked="checked">
                    <span class="text">好评</span>
              </label>
          </div>
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/zhong.png" />
                <label>
                    <input type="radio" class="inverted" value="2" name="evaluate">
                    <span class="text">中评</span>
                </label>
            </div>
            <div class="radio">
            <img src="<?php echo AURL; ?>/img/cha.png" />
                <label>
                    <input type="radio" class="inverted" value="3" name="evaluate">
                    <span class="text">差评</span>
                </label>
            </div>
        </div>
        
        
        
        
        <p>评语：(100字内)</p>
        
        <textarea id="EvaluateContent" class="form-control" style="width:100%;height:100px;margin-bottom:10px;"></textarea><p style="text-align:center;margin-top:10px;">
        
     <div class="text-right"><a class="btn btn-darkorange btn-sm" href="javascript:void(0);" onclick="SubmitEvaluate(<?php echo $order['oid']; ?>,1);">提交评价</a></div>
     
     <script type="text/javascript"> 
	$(function(){ 
	
		var aMsg1 = [
					"很不满意|速度慢得太离谱，非常不满意",
					"不满意|速度很慢，不满意",
					"一般|速度还行",
					"满意|速度蛮快，不错",
					"非常满意|速度非常快，非常不错"
					]
					
		var aMsg2 = [
			"很不满意|卖家态度很差，还骂人、说脏话，简直不把顾客当回事",
			"不满意|卖家有点不耐烦，承诺的服务也兑现不了",
			"一般|卖家回复问题很慢，态度一般，谈不上沟通顺畅",
			"满意|卖家服务挺好的，沟通挺顺畅的，总体满意，不错",
			"非常满意|卖家的服务太棒了，考虑非常周到，完全超出期望值"
			]
			
		var aMsg3 = [
			"很不满意|差得太离谱，与卖家描述的严重不符，非常不满",
			"不满意|部分有问题，与卖家描述的不符，不满意",
			"一般|质量一般，没有卖家描述的那么好",
			"满意|质量不错，与卖家描述的基本一致，还是挺满意的",
			"非常满意|质量非常好，与卖家描述的完全一致，非常满意"
			]
			
	 showstar('#star',aMsg1);
	 showstar('#star2',aMsg2);
	 showstar('#star3',aMsg3);
	 
	});
	

	function SubmitEvaluate(oid,type){
			
		bootbox.confirm({  
		   buttons: {  
			  confirm: {  
				 label: '确认',  
			  },  
			  cancel: {  
				 label: '取消',  
			  }  
		   },  
		   title:'提示',
		   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要提交评价?',  
			   callback: function(result) {  
				  if(result) {  
					 bootbox.hideAll();
					 
					 var evaluate=$('input[name="evaluate"]:checked').val();
					 var content=$('#EvaluateContent').val();
					 if(type==1){
						 var workspeed=parseInt($('#star span').find('strong').html().replace(/分/gi,''));
						 var worksattitude=parseInt($('#star2 span').find('strong').html().replace(/分/gi,''));
						 var worksquality=parseInt($('#star3 span').find('strong').html().replace(/分/gi,''));
					 }
					 
					 $.post('<?php echo U("/post/task/evaluate/id/".$id); ?>',{oid:oid,evaluate:evaluate,content:content,workspeed:workspeed,worksattitude:worksattitude,worksquality:worksquality}, function(json) {
								
							$('.bootbox').PhpappProgress({json:json});
		
							return true;
								
					 }, 'json');
					 
					  bootbox.dialog({
							 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
							 title: '<i class="icon fa fa-retweet"></i> 提交中',
							 closeButton: false
					 }).PhpappProgress({time:5000});
				 
					  return false; 
		  
				  }
			   } 
		
		})
		
		return false;
			
	}
	</script>
<?php }else{ ?>
     <h2><?php echo $task['username']; ?> 发布悬赏找到了满意的方案</h2>
     
     <h5>悬赏<strong><?php echo $task['money']/100; ?></strong>元  共收到 <strong><?php echo $task['draft_number']; ?></strong>个服务商报名参与</h5>
     <p>由<?php echo $order['seller_username']; ?>完成需求！</p>
     <p><?php echo C('sitename'); ?>聚集了100万专业服务商，发布一个需求，收获众多创意 逛逛需求市场 </p>
     <div class="text-right"><a class="btn btn-darkorange btn-sm" href="/task/publish/index">我要发布需求</a></div>
<?php } ?>

</div>
<?php if ($rejectList){ ?>
<div class="well">
	<h2>驳回原因：</h2>
	<?php foreach ($rejectList as $reject){ ?>
		<?php echo FormatDate("Y-m-d H:i:s",$reject['time']); ?>:<?php echo $reject['content']; ?>
	<?php } ?>
</div>
<?php } ?>
</div>

</div>

<script>
	
function SubmitDelivery(oid){
	
	var SecurityForm=$('#SecurityForm').val();
	
	bootbox.confirm({  
	   buttons: {  
		  confirm: {  
			 label: '确认',  
		  },  
		  cancel: {  
			 label: '取消',  
		  }  
	   },  
	   title:'提示',
	   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要操作'+oid+'号稿件交接?',  
		   callback: function(result) {  
			  if(result) {  
				 bootbox.hideAll();
				 
				 $.post('<?php echo U("/post/task/delivery/id/".$id); ?>',{oid:oid,SecurityForm:SecurityForm}, function(json) {
							
						$('.bootbox').PhpappProgress({json:json});

						return true;
							
				 }, 'json');
				 
				  bootbox.dialog({
						 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
						 title: '<i class="icon fa fa-retweet"></i> 提交中',
						 closeButton: false
				 }).PhpappProgress({time:5000});
			 
				  return false; 
	  
			  }
		   } 

	})
   
	return false;
		
}

function SubmitPayOrder(oid){
	
	var SecurityForm=$('#SecurityForm').val();
	
	bootbox.confirm({  
	   buttons: {  
		  confirm: {  
			 label: '确认',  
		  },  
		  cancel: {  
			 label: '取消',  
		  }  
	   },  
	   title:'提示',
	   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要付款'+oid+'号稿件操作?',  
		   callback: function(result) {  
			  if(result) {  
				 bootbox.hideAll();
				 
				 $.post('<?php echo U("/post/task/payorder/id/".$id); ?>',{oid:oid,SecurityForm:SecurityForm}, function(json) {
							
						$('.bootbox').PhpappProgress({json:json});

						return true;
							
				 }, 'json');
				 
				  bootbox.dialog({
						 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
						 title: '<i class="icon fa fa-retweet"></i> 提交中',
						 closeButton: false
				 }).PhpappProgress({time:5000});
			 
				  return false; 
	  
	  
			  }
		   } 

	})
   
	return false;
		
}

function SubmitRefundOrder(oid){
	
	var SecurityForm=$('#SecurityForm').val();
	
	bootbox.confirm({  
	   buttons: {  
		  confirm: {  
			 label: '确认',  
		  },  
		  cancel: {  
			 label: '取消',  
		  }  
	   },  
	   title:'退款操作',
	   message: '<div class="row"><div class="form-group"><label class="col-sm-2 control-label no-padding-right">退款金额 (元)</label><div class="col-sm-5"><input type="text" class="form-control" placeholder="请输入您的退款金额" id="RefundMoney" maxlength="5"></div></div></div>',  
		   callback: function(result) {  
			  if(result) {  
				 bootbox.hideAll();
				 var refund=$('#RefundMoney').val();
				 $.post('<?php echo U("/post/task/refund/id/".$id); ?>',{oid:oid,refund:refund,SecurityForm:SecurityForm}, function(json) {	
						$('.bootbox').PhpappProgress({json:json});
						return true;	
				 }, 'json');
				  bootbox.dialog({
						 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
						 title: '<i class="icon fa fa-retweet"></i> 提交中',
						 closeButton: false
				 }).PhpappProgress({time:5000});
			 
				  return false; 
	  
	  
			  }
		   } 

	})
   
	return false;
		
}
// 驳回重新上传
function SubmitRejectOrder(oid){
	
	var SecurityForm=$('#SecurityForm').val();
	var RejectContent=um.getContent();
	bootbox.confirm({  
	   buttons: {  
		  confirm: {  
			 label: '确认',  
		  },  
		  cancel: {  
			 label: '取消',  
		  }  
	   },  
	   title:'驳回操作',
	   message: '<div class="row"><div class="form-group"><label class="col-sm-6 control-label no-padding-right">驳回操作：驳回后服务商可重新上传</label></div></div>',  
		   callback: function(result) {  
			  if(result) {  
				 bootbox.hideAll();
				 $.post('<?php echo U("/post/task/reject/id/".$id); ?>',{oid:oid,SecurityForm:SecurityForm,RejectContent:RejectContent}, function(json) {	
						$('.bootbox').PhpappProgress({json:json});
						return true;	
				 }, 'json');
				  bootbox.dialog({
						 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
						 title: '<i class="icon fa fa-retweet"></i> 提交中',
						 closeButton: false
				 }).PhpappProgress({time:5000});
			 
				  return false; 
	  
	  
			  }
		   } 

	})
   
	return false;
		
}

</script> 
         <?php } ?>     
         </div>
       </div>
  <?php } ?>
  
  <div class="row">
    <div class="col-lg-9">
      <div class="row">
        <div class="well">
        <?php if ($task['task_mode']==1 && $task['task_number']>1){ ?>  
             <div class="row">
  <div class="col-lg-2"> 
  <a href="/space/<?php echo $task['uid']; ?>"><?php echo GetAvatarSimple($task['uid'],120); ?></a>
  </div>
  <div class="col-lg-10">
    <div class="row">
      <div class="col-lg-12">
        <h2><span class="label label-info"><?php echo $task['username']; ?></span> <a href="/task/<?php echo $id; ?>"><?php echo $task['subject']; ?></a></h2>
        <div class="task_money"> <span class="reward"> <?php if (!$task['cid']){ ?>未托管<?php }else{ ?>已托管<?php } ?></span> <span class="money"><i class="fa fa-cny"></i><?php echo number_format($task['task_number']*$task['money']/100,2); ?> </span> 
       
    
        <span>剩余名额</span><span class="money"><?php echo $task['task_number']-$task['draft_success']; ?>人</span> 
        
        <span>已领赏</span><span class="money"><?php echo $task['draft_success']; ?>人</span> 
        
        </div>
        <div class="task_mode"> <i class="fa fa-circle-o"></i> <span>交易模式：计件悬赏   赏金分配：每人每件 <strong><?php echo number_format($task['money']/100,2); ?></strong></span> 元</div>
        <div class="col-lg-12">
          <div class="row">
            <div class="col-lg-7">
              <div class="row"> <i class="fa fa-clock-o"></i> <span id="TaskTime"><span id="nowtime_0" value="{}">投稿截止：</span><span id="endtime_0" value="<?php echo $task['endtime']; ?>" class="endtime"><span id="d_0">0</span> 天 <span id="h_0">0</span> 时 <span id="i_0">0</span> 分 <span id="s_0">0</span> 秒</span></span></div>
            </div>
            <div class="col-lg-5">
              <div class="text-right"><a href="javascript:void(0);" onclick="SubmitFavorites(<?php echo $id; ?>);" data-original-title="喜欢" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-heart"></i></a> <a href="javascript:void(0);" onclick="PostReport(<?php echo $id; ?>,0,1);" data-original-title="举报" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-bookmark"></i></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="row col-pt-10">
  <div data-target="#WiredWizardsteps" class="wizard wizard-wired" id="WiredWizard">
    <ul class="steps">
    <?php if ($processorderarr){ ?>
    		<?php foreach ($processorderarr as $processkey=>$processname){ ?>
         		 <li<?php if ($task['process_time_'.$processkey]){ ?> class="complete"<?php } ?> data-target="#wiredstep<?php echo $processkey; ?>"><span class="step"><?php echo $processkey; ?></span><span class="title"><?php echo $processname; ?></span><span class="time"><?php if ($task['process_time_'.$processkey]>0){ ?><?php echo FormatDate('Y.m.d',$task['process_time_'.$processkey]); ?><?php } ?></span><span class="chevron"></span></li>
          <?php } ?>
    <?php } ?>
 
    </ul>
  </div>
</div>

<script>

$(function(){ 
	endtime("#TaskTime");
}); 

</script>
        <?php }else{ ?>
             <style type="text/css">
.wizard.wizard-wired ul li{
	width: 16.6%;
}
</style>
<div class="row">
  <div class="col-lg-2"> 
  <a href="/space/<?php echo $task['uid']; ?>"><?php echo GetAvatarSimple($task['uid'],120); ?></a>
  </div>
  <div class="col-lg-10">
    <div class="row">
      <div class="col-lg-12">
        <h2><span class="label label-info"><?php echo $task['username']; ?></span> <a href="/task/<?php echo $id; ?>"><?php echo $task['subject']; ?></a></h2>
        <div class="task_money"> <span class="reward"> <?php if ($task['task_mode']==2){ ?>招 标<?php }else{ ?>悬 赏<?php } ?></span> <span class="money"><i class="fa fa-cny"></i><?php echo number_format($task['money']/100,2); ?> </span> 
        <?php if (!$task['cid']){ ?>
            <span>未托管</span>  <span class="money"> </span>
        <?php }else{ ?>
        <span>已托管</span> <span class="money"><i class="fa fa-cny"></i><?php if ($task['task_mode']==2){ ?><?php echo number_format($order['offer'],2); ?><?php }else{ ?><?php if ($task['process_time_1']){ ?><?php echo number_format($task['money']/100,2); ?><?php }else{ ?>0<?php } ?><?php } ?></span> 
        <?php } ?>
        </div>
        <div class="task_mode"> <i class="fa fa-circle-o"></i> <span>交易模式：单人悬赏   赏金分配：一人独享该赏金 </span> </div>
        <div class="col-lg-12">
          <div class="row">
            <div class="col-lg-7">
              <div class="row"> <i class="fa fa-clock-o"></i> <span id="TaskTime"><span id="nowtime_0" value="{}">投稿截止：</span><span id="endtime_0" value="<?php echo $task['endtime']; ?>" class="endtime"><span id="d_0">0</span> 天 <span id="h_0">0</span> 时 <span id="i_0">0</span> 分 <span id="s_0">0</span> 秒</span></span></div>
            </div>
            <div class="col-lg-5">
              <div class="text-right"><a href="javascript:void(0);" onclick="SubmitFavorites(<?php echo $id; ?>);" data-original-title="喜欢" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-heart"></i></a> <a href="javascript:void(0);" onclick="PostReport(<?php echo $id; ?>,0,1);" data-original-title="举报" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-bookmark"></i></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="row col-pt-10">
  <div data-target="#WiredWizardsteps" class="wizard wizard-wired" id="WiredWizard">
    <ul class="steps">
    <?php if ($processorderarr){ ?>
    		<?php foreach ($processorderarr as $processkey=>$processname){ ?>
         		 <li<?php if ($task['process_time_'.$processkey]){ ?> class="complete"<?php } ?> data-target="#wiredstep<?php echo $processkey; ?>"><span class="step"><?php echo $processkey; ?></span><span class="title"><?php echo $processname; ?></span><span class="time"><?php if ($task['process_time_'.$processkey]>0){ ?><?php echo FormatDate('Y.m.d',$task['process_time_'.$processkey]); ?><?php } ?></span><span class="chevron"></span></li>
          <?php } ?>
    <?php } ?>
 
    </ul>
  </div>
</div>

<script>

$(function(){ 
	endtime("#TaskTime");
}); 

</script>
        <?php } ?>
          
          <div class="row">
          <div class="col-lg-12 col-pt-10">
          	<p>需求编号：<?php echo $task['id']; ?></p>

               <p>任务注度：<?php echo $task['show_number']; ?></p>
               
               
               <p>发布日期：<?php echo $task['adddate']; ?></p>
               
          		<p>任务需求：</p>
                <?php if ($task['hidetask'] && !$uid){ ?>
          		    <div class="alert alert-warning fade in"><button class="close" data-dismiss="alert">×</button><i class="fa-fw fa fa-warning"></i><strong>提示</strong> 该内容已隐藏,登录后可见!</div>
                <?php }else{ ?>
                    <?php echo htmlspecialchars_decode($task['content']); ?>
                <?php } ?>
                 
               <?php if ($taskfile && ($uid==$order['seller_uid']||$uid==$order['buyer_uid'])){ ?>
               <p>附件下载：</p>
            	   <?php foreach ($taskfile as $file){ ?>
                  	  <p><a href="/post/download/file/<?php echo $file['fid']; ?>" target="_blank"><i class="glyphicon glyphicon-save"></i> <?php echo $file['filename']; ?></a></p>
                 	<?php } ?>
               <?php } ?>
               
               
               <?php if ($task['longitude'] && $task['latitude']){ ?>
                 <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
                 <div id="MyMap"></div>
                 <script type="text/javascript">
                      var mymap = new BMap.Map("MyMap"); 
                      mymap.enableScrollWheelZoom(); 
                      mypoint = new BMap.Point(<?php echo $task["longitude"]; ?>,<?php echo $task["latitude"]; ?>);
                      mymap.centerAndZoom(mypoint,<?php if (intval($task["mapzoom"])<1){ ?>10<?php }else{ ?><?php echo $task["mapzoom"]; ?><?php } ?>);                
                      window.setTimeout(function(){mymap.panTo(mypoint);}, 2000);
                      var mymarker = new BMap.Marker(mypoint); 
                      mymap.addOverlay(mymarker); 
                      mymap.addControl(new BMap.NavigationControl()); 
                      $('#MyMap').css('height',220).css('width','auto');
                      
                 </script>
                <?php } ?>
               
          </div>
          </div>
          
        </div>
        
          <?php if ($uid!=$task['uid']){ ?> 
             <div class="well">
          <div class="row">
          <div class="col-lg-12">
          	<form data-bv-feedbackicons-validating="glyphicon glyphicon-refresh" data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-valid="glyphicon glyphicon-ok" data-bv-message="值不能为空" class="form-horizontal bv-form" method="post" id="TaskOrderForm" novalidate>
<?php if ($task['task_mode']==2){ ?>

<div class="row">
    <div class="col-md-6">
         <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">报价 (元)</label>
            <div class="col-sm-10">
                 <input type="text" class="form-control" placeholder="请输入您的报价" id="OrderOffer" name="offer" maxlength="5">
            </div>
        </div>
        <div class="horizontal-space"></div>
    </div>
    <div class="col-md-6">
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">时间 (天)</label>
            <div class="col-sm-10">
                 <input type="text" class="form-control" placeholder="请输入您的工作时间" id="OrderTime" name="time" maxlength="2">
            </div>
        </div>
        <div class="horizontal-space"></div>
    </div>
</div>
                                                    
<?php } ?>
                                          
 <link href="<?php echo AURL; ?>/plugin/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
<script>var upload_undefinedimage='<?php echo U("/post/upload/undefinedimage/".$uploadid."/".intval($id)); ?>'; var upload_delete='<?php echo U("/post/upload/delete"); ?>';</script>
<script src="<?php echo AURL; ?>/plugin/umeditor/umeditor.config.js"></script>
<script src="<?php echo AURL; ?>/plugin/umeditor/umeditor.min.js"></script>
<script src="<?php echo AURL; ?>/plugin/umeditor/lang/<?php echo C('DEFAULT_LANG'); ?>/<?php echo C('DEFAULT_LANG'); ?>.js"></script>



 


<textarea id="Content"  name="content"  style="height:200px;width:100%"><?php echo $draft['content']; ?></textarea>
  
  <div class="col-pt-10">
    <button class="btn btn-success" type="submit">投 稿</button>
  </div>

  <input type="hidden" name="datatype" value="json"/>
  <input type="hidden" name="Submit" value="true"/>
  <input type="hidden" name="id" value="<?php echo $id; ?>"/>
  <input type="hidden" name="oid" value="<?php echo intval($oid); ?>"/>

</form>



<!--Page Related Scripts-->
<script src="<?php echo AURL; ?>/js/validation/bootstrapValidator.js"></script>

<script>
<?php if ($task['task_mode']==2){ ?>
var taskmode=2;
<?php }else{ ?>
var taskmode=1;
<?php } ?>
        $(document).ready(function () {
			
			 var um = UM.getEditor('Content');
			 
			 um.addListener("contentChange",function(){
				if(UM.getEditor('Content').hasContents()){
					$('#TaskOrderForm button[type="submit"]').attr('disabled',false);
				}
			 });
			 

 		  $('#TaskOrderForm').bootstrapValidator({
                excluded: [':disabled'],
                feedbackIcons: {
                    valid: 'glyphicon glyphicon-ok',
                    invalid: 'glyphicon glyphicon-remove',
                    validating: 'glyphicon glyphicon-refresh'
                },
                submitHandler: function (form) {
				var ordertime=orderoffer=0;
				if(taskmode==2){
					orderoffer=parseInt($('#OrderOffer').val());
					if(isNaN(orderoffer)){
						 bootbox.alert({ 
							size: 'small',
							message: "请用数字填写报价！"
						 })
						 return false; 
					}
					
					ordertime=parseInt($('#OrderTime').val());
					if(isNaN(ordertime)){
						 bootbox.alert({ 
							size: 'small',
							message: "请用数字填写时间！"
						 })
						 return false; 
					}
				}
					
				 if(!UM.getEditor('Content').hasContents()){
					 bootbox.alert({ 
						size: 'small',
						message: "请填写投稿内容！"
					 })
					 return false; 
				 }

				  $.post('<?php echo U("/post/task/postdraft/id/".$this->id); ?>',$("#TaskOrderForm").serialize(), function(json) {
					
					  	$('.bootbox').PhpappProgress({json:json});

				 		return true;
					
				  }, 'json');
				  

				 bootbox.dialog({
					 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
					 title: '<i class="icon fa fa-retweet"></i> 提交中',
					 closeButton: false
				 }).PhpappProgress({time:1000});
			 
				  return false; 
				 
                } 
			
            }) 

        });
	   


    </script>
    
          </div>
          </div>
          </div>
          <?php } ?>
          
          <div class="tabbable">
                <ul id="myTab11" class="nav nav-tabs tabs-flat">
                    <li class="active">
                        <a href="#DraftA11" data-toggle="tab" onclick="GetListDraft('<?php echo U('/post/task/listdraft/id/'.$id.'/type/0/oid/'.$oid); ?>','#ListDraft');">
                            全部稿件(<?php echo $task['draft_number']; ?>)
                        </a>
                    </li>
                    <li>
                         <a href="#DraftNotreviewed" data-toggle="tab" onclick="GetListDraft('<?php echo U('/post/task/listdraft/id/'.$id.'/type/1/oid/'.$oid); ?>','#ListDraftNotreviewed');">
                            未审核(<?php echo $task['draft_notreviewed']; ?>)
                        </a>
                    </li>
                     <li>
                        <a href="#DraftSuccess" data-toggle="tab" onclick="GetListDraft('<?php echo U('/post/task/listdraft/id/'.$id.'/type/2/oid/'.$oid); ?>','#ListDraftSuccess');">
                            中标(<?php echo $task['draft_success']; ?>) 
                        </a>
                    </li>
                    
                    <li>
                        <a href="#DraftFailure" data-toggle="tab" onclick="GetListDraft('<?php echo U('/post/task/listdraft/id/'.$id.'/type/3/oid/'.$oid); ?>','#ListDraftFailure');">
                            失败(<?php echo $task['draft_failure']; ?>)
                        </a>
                    </li>
                    
                     <li>
                        <a href="#TaskMessage" data-toggle="tab">
                            任务留言(<?php echo $task['message_number']; ?>)
                        </a>
                    </li>

                </ul>
                
                
                 <div class="tab-content tabs-flat" style="padding:0px;margin:0px;">
                    <div class="tab-pane active" id="DraftA11">
                    <div class="well">
                        <div class="row">
                          <div class="col-lg-12" id="ListDraft">
                          加载中...
                           </div>
                        </div>
                        </div>  
                    </div>

                    <div class="tab-pane" id="DraftNotreviewed">
                        <div class="well">
                            <div class="row">
                              <div class="col-lg-12" id="ListDraftNotreviewed">
                              加载中...
                               </div>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane" id="DraftSuccess">
                   		<div class="well">
                            <div class="row">
                              <div class="col-lg-12" id="ListDraftSuccess">
                              加载中...
                               </div>
                            </div>
                        </div> 
                    </div>
                    <div class="tab-pane" id="DraftFailure">
                    	<div class="well">
                            <div class="row">
                              <div class="col-lg-12" id="ListDraftFailure">
                              加载中...
                               </div>
                            </div>
                        </div> 
                    </div>
                    <div class="tab-pane" id="TaskMessage">
                    
                    <div class="well">
                            <div class="row">
                              <div class="col-lg-12">
                              	<h5>任务留言 (200字内)</h5>
                                <div id="ListMessage"></div>
                                <div class="dataTables_paginate paging_bootstrap text-right" id="ListMessagePage"></div>
                                <div>
                                <textarea placeholder="留言内容" rows="3" class="form-control" id="DataMessage"></textarea>
                                </div>
                                <div class="col-pt-10">
                                <button class="btn btn-palegreen" type="submit" onclick="SubmitDataMessage(<?php echo $id; ?>)">提交</button>
                           		</div>
                                                    
                               </div>
                            </div>
                        </div> 
                    
                    </div>
                </div>
                                       
        </div>
                            
        <div class="dataTables_paginate paging_bootstrap text-right" id="ShowPage"></div>
          
          <!-- 稿件列表 -->
         <script>	
var oid=<?php echo $oid; ?>;

function SubmitComment(oid){
	var obj=$('#Comment_Text_'+oid);
	var value=obj.val();
	
	if(value){
		 $.post('<?php echo U("/post/task/postcomment/id/".$id); ?>',{oid:oid,content:value,Submit:1}, function(json) {
					
				$('.bootbox').PhpappProgress({json:json});
	
				if(json.data.comment_num){
		
					$('#Comment_More_'+oid).show(300);
					$('#Comment_More_'+oid).find("span").html(parseInt(json.data.comment_num));
			
					var html='';
					for(var key in json.data.comment){
						
						html+='<div class="row"><div class="col-lg-1 comment_avatar">'+json.data.comment[key].avatar+'</div><div class="col-lg-10  comment"><div class="row"><span>'+json.data.comment[key].username+' 发表于 '+json.data.comment[key].adddate+'</span><br />'+json.data.comment[key].content+'</div></div></div>';
						//console.log(json.data.comment[key].username);
					}
					
					$('#CommentList_'+oid).html(html);
					
				}
				
				$('#Comment_Text_'+oid).val('');
				
				bootbox.hideAll();
				
				return true;
					
		 }, 'json');
		 
		  bootbox.dialog({
				 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
				 title: '<i class="icon fa fa-retweet"></i> 提交中',
				 closeButton: false
		 }).PhpappProgress({time:3000});
	 
		  return false; 
		
	}else{
		
		 bootbox.dialog({
			 message: '请输入评论内容！',
			 title: '<i class="icon fa fa-warning"></i> 提示',
			  buttons: {
                    "确定": {
                        className: "btn-default"
                    }
                }
		 })
	}
	
}

function GetListComment(url){
	if(oid){
		$('#CommentList_'+oid).html('加载中...');
		$.getJSON(url, function(json){
			if(json.status=='ok'){
				if(json.data.list){
					$.each(json.data.list, function(i,item){
						var comment='';
						if(item.comment){
							for(var key in item.comment){
								comment+='<div class="row"><div class="col-lg-1 comment_avatar">'+item.comment[key].avatar+'</div><div class="col-lg-10  comment"><div class="row"><span>'+item.comment[key].username+' 发表于 '+item.comment[key].adddate+'</span><br />'+item.comment[key].content+'</div></div></div>';
							}
						}
						
						$('#CommentList_'+oid).html(comment);
						
						var pagecomment='';
						if(item.pagecomment){
							pagecomment='<ul class="pagination">'+item.pagecomment+'</ul>';
						}
						
						$("#PageComment").html(pagecomment);
						
					});
					
				}
			}
		});
	}
}


function GetListDraft(url,listdiv){
	$(listdiv).html('加载中...');
	$.getJSON(url, function(json){
		if(json.status=='ok'){
			if(json.data.list){
				if(json.data.page){
					$("#ShowPage").html('<ul class="pagination">'+json.data.page+'</ul>');
				}
				$(listdiv).html('');
				$.each(json.data.list, function(i,item){
					//alert(item.oid);
					var draft_success='';
					if(item.process==1){
						draft_success='<div class="draft_success"></div>';
					}else if(item.process==2){
						draft_success='<div class="draft_failure"></div>';
					}
					
					var proposal='';
					if(item.proposal){
						 proposal='<div class="draft_warning" style="margin-bottom:10px;">雇主审语：'+item.proposal+'</div>';
					}
					
					var comment='';
					if(item.comment){
						for(var key in item.comment){
							comment+='<div class="row"><div class="col-lg-1 comment_avatar">'+item.comment[key].avatar+'</div><div class="col-lg-10  comment"><div class="row"><span>'+item.comment[key].username+' 发表于 '+item.comment[key].adddate+'</span><br />'+item.comment[key].content+'</div></div></div>';
						}
					}
					
					var buyer_read='雇主未浏览';
					if(parseInt(item.buyer_read)==1){
						buyer_read='雇主已浏览';
					}
					
					var buyer_process='未审核';
					if(parseInt(item.process)){
						buyer_process='已审核';
					}
					
					var verify_time='';
					if(item.verifytime){
						verify_time=' 审核时间：'+item.verifytime;
					}
					
					var offer='';
					if(parseInt(item.offer)>0 && parseInt(item.time)>0){
						var offer='<div class="row"><div class="col-lg-8"><hr/><h5>'+'报价：<strong class="text-primary">'+item.offer+'</strong> 元 &nbsp; 时间：<strong class="text-primary">'+item.time+'</strong> 天 &nbsp; 地区：<span class="text-primary">南宁</span></h5><hr/></div></div>';
					}
					
					$(listdiv).append('<div class="row">'+
							 '<div class="col-lg-1">'+item.avatar+
					
							 '</div>'+
							  
							 '<div class="col-lg-11">'+
							  
								   '<div class="row">'+
								   
								   '<div class="col-lg-9 color_999">'+
										'<b>'+item.seller_username+'</b> <i class="fa fa-clock-o"></i> '+item.dateline+' &nbsp; '+buyer_read+'  ,'+buyer_process+ verify_time+
								  ' </div>'+
									'<div class="col-lg-3">'+draft_success+'<div class="text-right">#'+item.oid+'  <input name="" type="checkbox" value="" /></div>'+
								 ' </div>'+
								  ' </div>'+offer+proposal+item.content+
								   '<div class="row">'+
								  ' <div class="col-lg-12 col-pt-20">'+
								   '<div id="CommentList_'+item.oid+'">'+comment+
								   '</div><div class="row"><div class="col-lg-11"><div class="dataTables_paginate paging_bootstrap text-right col-pt-20" id="PageComment"><ul class="pagination">'+item.pagecomment+'</ul></div></div></div>'+
								   
								  '<p class="col-pt-10"><a class="btn btn-default btn-sm" href="javascript:void(0);" onclick="OpenComment('+item.oid+','+item.seller_uid+')"><i class="fa fa-comment-o"></i>评论</a> '+ 
								  
								  
								  '<a class="btn btn-default btn-sm" target="_blank" href="<?php echo U('/task/'.$id); ?>/'+item.oid+'" id="Comment_More_'+item.oid+'"><i class="fa fa-comments-o"></i>更多评论(<span>'+item.comment_num+'</span>)</a> '+
							
								  '<a class="btn btn-default btn-sm" href="javascript:void(0);" onclick="PostReport(<?php echo $id; ?>,'+item.oid+',3);"><i class="fa fa-bookmark-o"></i>举报</a></p>'+
								  
								  '<div id="Comment_'+item.oid+'" style="display:none">'+
									'<span class="input-icon icon-right">'+
										  ' <textarea placeholder="您想说点什么?" class="form-control" rows="2" id="Comment_Text_'+item.oid+'" name="content"></textarea>'+
										   '<i class="fa fa-comment-o themeprimary"></i>'+
									  ' </span>'+
								  
									'<p class="col-pt-10 text-right">'+
									   '<button class="btn btn-default btn-sm" type="button" onclick="CancelComment('+item.oid+')">取 消</button> <button class="btn btn-darkorange btn-sm" type="submit" onclick="SubmitComment('+item.oid+')">评 论</button>'+
									 '</p>'+
									 
									'</div>'+item.operate+
									 
								   
		 
									' </div>'+
					
									 '</div>'+
							  
							  '</div>'+
					'</div>');


				});
			}
		}else{  
			$(listdiv).html(json.message);
		}
	});
}



/* 中标 */
function ApplySuccess(oid,type,pagenum){
	 bootbox.confirm({  
		   buttons: {  
			  confirm: {  
				 label: '确认',  
			  },  
			  cancel: {  
				 label: '取消',  
			  }  
		   },  
		   title:'提示',
		   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要操作'+oid+'号稿件中标?',  
			   callback: function(result) {  
				  if(result) {  
					 bootbox.hideAll();
					 
					 $.post('<?php echo U("/post/task/success/id/".$id); ?>',{oid:oid,type:type,pagenum:pagenum}, function(json) {
								
							$('.bootbox').PhpappProgress({json:json});

							return true;
								
					 }, 'json');
					 
					  bootbox.dialog({
							 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
							 title: '<i class="icon fa fa-retweet"></i> 提交中',
							 closeButton: false
					 }).PhpappProgress({time:2000});
				 
					  return false; 
		  
		  
				  }
			   } 
	
	   })
	   
	   return false;
}

/* 失败 */
function ApplyFailure(oid,type,pagenum){
	bootbox.confirm({  
		   buttons: {  
			  confirm: {  
				 label: '确认',  
			  },  
			  cancel: {  
				 label: '取消',  
			  }  
		   },  
		   title:'提示',
		   message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要操作'+oid+'号稿件不合格?',  
			   callback: function(result) {  
				  if(result) {  
					 bootbox.hideAll();
					 
					 $.post('<?php echo U("/post/task/failure/id/".$id); ?>',{oid:oid,type:type,pagenum:pagenum}, function(json) {
								
							$('.bootbox').PhpappProgress({json:json});

							return true;
								
					 }, 'json');
					 
					  bootbox.dialog({
							 message: '<div class="progress progress-striped active"><div style="width: 1%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar" class="progress-bar progress-bar-info"><span>0%</span></div></div>',
							 title: '<i class="icon fa fa-retweet"></i> 提交中',
							 closeButton: false
					 }).PhpappProgress({time:2000});
				 
					  return false; 
		  
		  
				  }
			   } 
	
	   })
	   
	   return false;
}


						
$(function(){
	GetListDraft("<?php echo U('/post/task/listdraft/id/'.$id.'/type/0/oid/'.$oid); ?>",'#ListDraft');
});
</script>
          
      </div>
    </div>
    <div class="col-lg-3 well-col-pl-30">
      <div class="row">
       
        
	         <div class="databox radius-bordered databox-shadowed databox-graded">
                                        <div class="databox-left bg-azure">
                                            <div class="databox-piechart">
                                                <div data-trackcolor="#7fe2fa" data-size="47" data-linewidth="3" data-animate="500" data-percent="100" data-linecap="butt" data-barcolor="#fff" class="easyPieChart" data-toggle="easypiechart" style="width: 47px; height: 47px; line-height: 47px;"><span class="white"><h3>￥</h3></span><canvas height="47" width="47"></canvas></div>
                                            </div>
                                        </div>
                                        <div class="databox-right">
                                            <span class="databox-number azure">担保交易</span>
                                            <div class="databox-text darkgray">满意后再付款,质量保证！</div>
                                            <div class="databox-state bg-azure">
                                                <i class="fa fa-check"></i>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    
                 <div class="databox radius-bordered databox-shadowed databox-graded">
                                        <div class="databox-left bg-palegreen">
                                            <div class="databox-piechart">
                                                <div data-trackcolor="#fa8872" data-size="47" data-linewidth="3" data-animate="500" data-percent="50" data-linecap="butt" data-barcolor="#fff" class="easyPieChart" data-toggle="easypiechart" style="width: 47px; height: 47px; line-height: 47px;"><span class="white"><h3>保</h3></span><canvas height="47" width="47"></canvas></div>
                                            </div>
                                        </div>
                                        <div class="databox-right">
                                            <span class="databox-number palegreen">消费者保障</span>
                                            <div class="databox-text darkgray">质量问题,先行赔付！</div>
                                            <div class="databox-state bg-azure">
                                                <i class="fa fa-check"></i>
                                            </div>
                                        </div>
                                    </div>                   
                 
                 
                 <div class="databox radius-bordered databox-shadowed databox-graded">
                                        <div class="databox-left bg-lightred">
                                            <div class="databox-piechart">
                                                <div data-trackcolor="#f39e93" data-size="47" data-linewidth="3" data-animate="500" data-percent="42" data-linecap="butt" data-barcolor="#fff" class="easyPieChart" data-toggle="easypiechart" style="width: 47px; height: 47px; line-height: 47px;"><span class="white"><h3>实</h3></span><canvas height="47" width="47"></canvas></div>
                                            </div>
                                        </div>
                                        <div class="databox-right">
                                            <span class="databox-number lightred">服务商认证</span>
                                            <div class="databox-text darkgray">实名认证,更放心交易！</div>
                                            <div class="databox-state bg-azure">
                                                <i class="fa fa-check"></i>
                                            </div>
                                        </div>
                                    </div>                   

            
                
                <?php if ($task['service_uid']){ ?>
                <div class="databox databox-xlg databox-halved radius-bordered databox-shadowed databox-vertical">
                                        <div class="databox-top bg-white padding-10">
                                            <div class="col-lg-4 col-sm-4 col-xs-4">
                                            <?php echo GetAvatarSimple($task['service_uid'],48,'image-circular bordered-3 bordered-palegreen'); ?>
                                            </div>
                                            <div class="col-lg-8 col-sm-8 col-xs-8 text-align-left padding-10">
                                                <span class="databox-header carbon no-margin">任务客服</span>
                                                <span class="databox-text lightcarbon no-margin"> <?php echo $task['service_username']; ?> </span>
                                            </div>
                                        </div>
                                        <div class="databox-bottom bg-white no-padding">
                                            <div class="databox-row row-12">
                                                <div class="databox-row row-6 no-padding">
                                                    <div class="databox-cell cell-12 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-number lightcarbon no-margin">电话：<?php echo $task['service_phone']; ?></span>
                                                    </div>
                                                </div>
                                                <div class="databox-row row-6 padding-10">
                                                    <button class="btn btn-palegreen btn-sm pull-right" onclick="dialogmessage('<?php echo $task['service_username']; ?>');">站内联系</button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                
            	<?php } ?>
               
		 <div class="well"> 
			<table class="table table-hover">
                    <thead>
                        <tr>
                            <th>
                                <strong>推荐任务</strong>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php if ($newtask){ ?>
                    	<?php foreach ($newtask as $task){ ?>
                        <tr>
                            <td>
                                <p style="width:160px;height:18px;overflow: hidden;"><a href="/task/<?php echo $task['id']; ?>" target="_blank"><span class="color_f60">￥<?php echo $task['money']/100; ?></span> <?php echo $task['subject']; ?></a></p>
                            </td>
                        </tr>
                        <?php } ?>
           			<?php } ?>
                    </tbody>
                </table>
        
        
        </div>
        
        <div class="well"> 
          <strong>推荐服务商</strong>
    		
               <?php if ($hotuser){ ?>
                	<?php foreach ($hotuser as $user){ ?>
                       <div class="databox databox-graded">
                            <div class="databox-left" style="padding-top:8px">
                             <a href="/shop/<?php echo $user['uid']; ?>" target="_blank"><?php echo GetAvatarSimple($user['uid'],48,'img-rounded'); ?></a>
                            </div>
                            <div class="databox-right padding-top-20 bg-whitesmoke">
                                <div class="databox-text darkgray"><a href="/shop/<?php echo $user['uid']; ?>" target="_blank"><?php echo $user['username']; ?></a></div>
                                <div class="databox-text darkgray">
                                  <?php echo $user['provname']; ?> <?php echo $user['cityname']; ?> <?php echo $user['distname']; ?>
                                </div>
                            </div>
                        </div>
                              
                    <?php } ?>   
               <?php } ?>
        </div>
      </div>
    </div>
  </div>
</div>
</div>

<script>
$(function(){
	GetDataMessage("<?php echo U('/post/message/list/id/'.$id); ?>");
});
</script>
<div class="container">
<div class="row">
<p><a href="http://www.aqwlkj.cn" target="_blank"><img style="width: 100%;" alt="" src="http://www.1000qian.cn/assets/img/ad/top_1170_60.png"/></a></p> <!-- 广告通栏底部 -->
</div>
</div>
    
<div class="container-fluid footer footer_line">
  <div class="container">
    <div class="row">
      <div class="col-lg-2 footer_help">
    	  <h3>新手指南</h3>
          <p>注册新用户</p>
   		  <p>雇主入门</p>
          <p>服务商入门</p>
          <p>规则中心</p>
      </div>
      <div class="col-lg-2 footer_help">
     	 <h3>我是雇主</h3>
         <p>发布任务</p>
   		  <p>雇主入门</p>
          <p>服务商入门</p>
          <p>规则中心</p>
      </div>
      <div class="col-lg-2 footer_help">
          <h3>我是服务商</h3>
         <p>开通店铺</p>
   		  <p>发布服务</p>
          <p>服务商入门</p>
          <p>规则中心</p>
      </div>
      <div class="col-lg-2 footer_help">
          <h3>交易担保</h3>
         <p>中标后支付</p>
   		  <p>发布服务</p>
          <p>服务商入门</p>
          <p>规则中心</p>
      
      </div>
      <div class="col-lg-4 footer_help">
      <img src="/assets/img/footer_logo.png"/>
      </div>
    </div>

  </div>
</div>

<div class="container-fluid footer">
  <div class="container">

    <div class="row text-center">                  
     <div class="breadcrumb">
     <li><a href="/">首页</a></li> 
     <li><a href="/website/about">关于我们</a></li>
     <li><a href="/news">新闻中心</a></li>
     <li><a href="/member/payin">支付方式</a></li>
     <li><a href="/website/contact">联系方式</a></li>
     <li><a href="/website/service">客服中心</a></li>
     <li><a href="/website/sitemap">网站地图</a></li>
     </div>
 	<p class="text-center">Copyright © 2006-<?php echo FormatDate("Y",NowTime()); ?> <?php echo C('sitename'); ?> 版权所有 <?php if (C('siteicp')){ ?><a href="http://www.miibeian.gov.cn" target="_blank"><?php echo C('siteicp'); ?></a><?php } ?>  <?php if (C('sitecount')){ ?><?php echo C('sitecount'); ?><?php } ?></p>
    
    <div class="row">     
        <div class="theme-area">
            <ul id="skin-changer" class="colorpicker" style="width:300px; margin-left:auto; margin-right:auto;">
                <li><a rel="/assets/css/skins/blue.min.css" style="background-color:#5DB2FF;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/azure.min.css" style="background-color:#2dc3e8;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/teal.min.css" style="background-color:#03B3B2;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/green.min.css" style="background-color:#53a93f;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/orange.min.css" style="background-color:#FF8F32;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/pink.min.css" style="background-color:#cc324b;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/darkred.min.css" style="background-color:#AC193D;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/purple.min.css" style="background-color:#8C0095;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/darkblue.min.css" style="background-color:#0072C6;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/gray.min.css" style="background-color:#585858;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/black.min.css" style="background-color:#474544;" href="#" class="colorpick-btn"></a></li>
                <li><a rel="/assets/css/skins/deepblue.min.css" style="background-color:#001940;" href="#" class="colorpick-btn"></a></li>
            </ul>
       </div>
    </div>               
    </div>
    </div>
</div>  


<div class="quick_menu_wrap">

    <div class="quick_menu">
    
     	<div class="well attached top quick_well">
         <a href="/task/publish/index" class="btn-lg" title="发布任务"><i class="glyphicon glyphicon-plus" style="margin-right:0px"></i></a>
        </div>
        <div class="well attached quick_well" id="MyQuickDialog">
         <a href="/member/dialog" class="btn-lg" title="站内信息"><i class="glyphicon glyphicon-comment" style="margin-right:0px"></i></a>
        </div>
        <div class="well attached quick_well">
          <a href="/member" class="btn-lg" title="会员中心"><i class="glyphicon glyphicon-user" style="margin-right:0px"></i></a>
        </div>
        <div class="well attached bottom quick_well">
          <a href="javascript:void(0);" class="btn-lg" title="往上滚动" id="ToTop"><i class="glyphicon glyphicon-chevron-up" style="margin-right:0px"></i></a>
        </div>
    </div>
                             
</div>

<div id="FoxPHP_ImList"></div>
<div id="FoxPHP_ImBox" style="display:none">
    <div class="foxphp_imtop">
        <div class="btn btn-primary" id="FoxPHP_Main">
        <i class="fa fa-comment" id="FoxPHP_ImIsMessage"></i> 最近联系的人 <i class="fa fa-plus" id="FoxPHP_ImIsOpen"></i>
        </div>
    </div>
    <div id="FoxPHP_ImChatUser">
    	<ul></ul>
    </div>
</div>

<script src="/assets/js/socket.io/socket.io.js"></script>
<script src="/assets/js/footer.js"></script>
</body><!--  /Body -->
</html>